package cn.ruihusoft.ql.pojo.cron;

import lombok.Data;

/**
 * "id": 0,
 * "name": "任务名",
 * "command": "task helloworld.py",
 * "schedule": "0 0 * * *",
 * "timestamp": "Wed Feb 09 2022 13:08:45 GMT+0800 (中国标准时间)",
 * "saved": true,
 * "status": 1,
 * "isSystem": 0,
 * "pid": null,
 * "isDisabled": 0,
 * "isPinned": 0,
 * "log_path": "string",
 * "labels": [
 * "标签"
 * ],
 * "last_running_time": 0,
 * "last_execution_time": 0,
 * "createdAt": "2022-02-09T05:08:45.450Z",
 * "updatedAt": "2022-02-09T05:50:03.062Z"
 */
@Data
public class CronDetailResponse {

    private Integer id;
    private String name;
    private String command;
    private String schedule;
    private String timestamp;
    private Boolean saved;
    private Integer status;
    private Boolean isSystem;
    private Integer pid;
    private Boolean isDisabled;
    private Boolean isPinned;
    private String log_path;
    private String[] labels;
    private Long last_running_time;
    private Long last_execution_time;
    private String createdAt;
    private String updatedAt;

}
